"""
1 电脑赢 (p=1 and  r=2)
(p=2 and  r=3)  (p=3 and  r=1)
2 人赢
3 平局  1==1 or 2==2  or  3==3
"""
import random

people=int(input("请出拳: 1石头2剪刀3布"))
com=random.randint(1,3)
if ( com==1 and people==2 ) or ( com==2 and people==3 )  or ( com==3 and people==1 ):
    print("电脑赢")
elif ( com==3 and people==2 ) or ( com==1 and people==3 )  or ( com==2 and people==1 ):
    print("人赢")
else:
    print("平局")